<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <style>
    body{
      font: 12px "simhei", Arial, Helvetica, sans-serif;
      color: #666;
    }
    body>div{
      width:198px;height:233px;
      background-color:#E8E8E8;
      text-align: center;
    }
    .title{
      color: #000;
      margin:0px;
    }
    .price{
      font-size: 12px;
      color: #0AA1ED;
      font-weight: bold;
      margin:6px 0;
    }
    a{
      width:100px;
      height:24px;
      background-color: #0aa1ed;
      /*如果设置为块级元素,则不收上级元素居中影响,元素的显示位置默认靠左,
      如果需要让元素居中,可以通过外边距的方式让块级元素居中*/
      /*display: inline-block;*/
      display: block;
      /*块级元素居中的写法*/
      margin: 0 auto;
      text-align: center;
      line-height: 24px;
      text-decoration: none;
      font-size: 12px;
      border-radius: 2px;
    }





  </style>
</head>
<body>
<div>
  <div>
    <img src="http://doc.vrd.net.cn/tstore_v1/images/itemCat/study_computer_img3.png">
    <p class="title">戴尔(DELL)XPS13-9360-R1609 13.3英<br>
      寸微边框笔记本电脑</p>
    <p class="price">￥4600.00</p>
    <a href="">查看详情</a>
  </div>
</div>
</body>
</html>